#include "ggpvision.h"
/*--------------------------------------------------------------------------------*/
#include "demo.h"
/*--------------------------------------------------------------------------------*/
INT main()
{
	APPLICATION::CreateInstance();

    APPLICATION_SetName( "ggpvision demo application" );
    APPLICATION_SetExtent( 800, 600 );
    APPLICATION_Initialize( false );
    APPLICATION_SetClearColor( COLOR::ColorWhite );

    GRAPHIC_EXTENSION_MANAGER::GetInstance().Initialize();
	INPUT_SYSTEM::GetInstance().Initialize();
	INPUT_FILE_MANAGER_MountDirectory( "./data" );

	GRAPHIC_ANIMATION_MANAGER_LoadFile( "animations.data" );


	DEMO
		demo( DEMO::MENU_STATE );
	
	APPLICATION_StartUsingStateChart( &demo );
	

    return 0;
}
